/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.cf.dao.impl;

import com.cf.modelo.*;
import com.cf.util.HibernateUtil;
import java.util.List;
import org.hibernate.Session;

/**
 *
 * @author Soltecn2
 */
public class TbPlantillaDao {
    
    
     public static List<TbPlantilla> listTarea() {
     Session session = HibernateUtil.getSessionFactory().getCurrentSession();
        session.beginTransaction();        
        return session.createQuery("from TbPlantilla").list();

    }
}
